<?php include('head_view.php'); ?>              
    <h1><?php echo $heading; ?></h1>

    <h2>Encerrar conta</h2>

    <p><?php echo $mensagem;?></p>
    
    <?php echo form_open('usuario/deletarConta/' . $this->session->userdata('idUsuario'), array('name'=>'form1')); ?>
        <input type="checkbox" name="confirma"/> Sim, estou consciente e desejo excluir minha conta assim mesmo<br/>
        <hr/>
         <?php echo validation_errors('<div class="error">', '</div>');?>
        <p>Senha<br><input name="senha" type="password" size="30" value="" /></p>
        <p><?php echo anchor ('home/recuperarSenha', 'Esqueci minha senha');?></p>
        <p><input type="submit" name="Salvar" value="Salvar" /></p>
    <?php form_close(); ?>
<?php include('footer_view.php') ?>